package com.iotechn.unimall.data.dto.goods;

import com.iotechn.unimall.data.dto.SuperDTO;
import lombok.Data;

/**
 * Created by rize on 2019/7/6.
 */
@Data
public class SkuDTO extends SuperDTO {

    private Long spuId;
    /**
     * 条码
     */
    private String barCode;

    private Long categoryId;

    /**
     * SKU显示文字
     */
    private String title;

    private String spuTitle;
    //显示商品限购数量
    private Integer spuLimitnum;
    //看商品的状态，如果已经下架则产品不能购买
    private Integer spuStatus;

    private String img;

    private String spuImg;

    private Integer originalPrice;

    private Integer price;

    private Integer vipPrice;

    private Float stock;
    /**
     * 冻结库存
     */
    private Float freezeStock;

    private String unit;

    private Float sales;

    private Float allStock;

    private Long allPrice;

    private String skuName;

    private String spuName;

    private Integer levelRate;

    private Integer levelId;

    private Integer colonelId;
    //库存数
    private Integer carNum;

    private Float avgPrice = 0f;

    private Long skuId;

    /** 推荐价 */
    private Integer recommendPrice;
}
